package com.authine.cloudpivot.ext.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @program: gm-market
 * @description:
 * @author: wlw
 * @create: 2021-08-26 16:08
 **/
@Data
@Schema(description = "MallGoodsListPage")
public class MallGoodsListPageQuery {
    @Schema(description = "商品序号")
    private String id;
    @Schema(description = "品牌")
    private String brand;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "型号")
    private String model;
    @Schema(description = "规格")
    private String spec;
    @Schema(description = "供应商名称")
    private String org_fullname;
    @Schema(description = "供应商类型  0虚拟  1真实")
    private Integer type;
    @Schema(description = "目录")
    private String catalog;
    @Schema(description = "审批状态 0 待提交 1 待审批  2 已审批")
    private Integer review_status;
    @Schema(description = "上传日期起")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    @Schema(description = "上传日期止")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    @Schema(description = "是否市场商品查询 true 市场商品管理  false 供应商商品管理")
    private boolean mall_goods_type;
    @Schema(description = "安全库存 true 大于安全库存  false 小于等于安全库存")
    private Boolean safeStock;
    private int pageIndex = 0;
    private int pageSize = 20;

}
